//req.session

{
    cookie: {
        path: '/',
            _expires: Wed Mar 30 2016 11 : 13 : 59 GMT + 0800(CST),
            originalMaxAge: 86399997,
            httpOnly: true,
            domain: 'zw.local'
    },
    passport: {
        user: {
            accesskeyId: 'uu6C90sDVygHQCHj',
                accesskeySecret: 'f906c5e2419892ea56851ae48e26b48f95d59262886510b43406518b001b77c8',
                accessWhitelist: null,
                adminRole: '0',
                agent: [Object],
                aliyunKp: null,
                aliyunUid: '1245248868224001',
                apiInfo: null,
                approveRole: null,
                available: true,
                createTime: null,
                departmentInfo: null,
                description: '',
                id: '1577',
                isManager: 0,
                lastLoginIp: '::ffff:127.0.0.1',
                lastLoginTime: '2016-03-28 17:37:03',
                name: 'sss',
                nextApproveId: null,
                organization: null,
                orgName: null,
                orgNumber: '1',
                ossIsOpen: true,
                payType: false,
                permission: '100',
                pid: null,
                portalRole: null,
                position: '',
                postAddress: '1321321',
                pwd: 'ebcbf97ec1d80c0388d39bf508039baa',
                resetPwdCode: 'wi6Z0KfxmYPmlrpt+6jGfKJPV6s=',
                resetPwdTime: null,
                status: 1,
                tel: '123123123123',
                unitInfo: null,
                updateTime: '2016-03-28 17:37:03',
                username: 'qinwen@jiagouyun.com',
                userType: 1,
                rbac: {}
        }
    },
    captcha: 'uazi',
        redir_url: '/wallet/detail',
    account_id: 'qinwen@jiagouyun.com',
    account_index: '1577',
    permission: 4,
    org_name: null,
    agent_level: false,
    agent_id: '25',
    agent_code: '678560aa-b19f-4713-b47e-4f5a0fc8fd21',
    user_type: 1,
    aliyun_kp: null,
    aliyun_uid: '1245248868224001',
    rbac: {}
}

{
    cookie: {
        path: '/',
            _expires: Wed Mar 30 2016 11 : 35 : 05 GMT + 0800(CST),
            originalMaxAge: 86400000,
            httpOnly: true,
            domain: 'zw.local'
    },
    passport: {
        user: {
            accesskeyId: 'NkZ09fg2GQwFt3gQ',
                accesskeySecret: 'a88554d144af140087c9c64e25570eb3431b5da66ab6b279d1ca4ca9ad30a628',
                accessWhitelist: '101.231.116.2\n101.231.116.3\n101.231.116.4\n101.231.116.5\n101.231.116.6\n101.231.116.7\n101.231.116.8\n101.231.116.9\n127.0.0.1',
                adminRole: '5696249c17d586089f9dd3bc',
                agent: [Object],
                aliyunKp: '1119012843144986',
                aliyunUid: '1119012843144986',
                apiInfo: '{"access_id":"KmFGzxgmfxnWMTNk","owner_id":"1119012843144986","resource_type":"oss"}',
                approveRole: null,
                available: true,
                createTime: null,
                departmentInfo: null,
                description: 'test',
                id: '1',
                isManager: 0,
                lastLoginIp: '1.1.1.1',
                lastLoginTime: '2016-03-28 16:20:42',
                name: 'sss',
                nextApproveId: null,
                organization: null,
                orgName: '驻云科技',
                orgNumber: null,
                ossIsOpen: true,
                payType: false,
                permission: '111',
                pid: null,
                portalRole: null,
                position: '开发',
                postAddress: '1',
                pwd: 'ebcbf97ec1d80c0388d39bf508039baa',
                resetPwdCode: '4b9cae348e9f43869782fc060c868c6b',
                resetPwdTime: '2016-03-15 16:15:11',
                status: 1,
                tel: 'q1111111111111',
                unitInfo: null,
                updateTime: '2016-03-28 16:20:42',
                username: 'admin@gcydata.gov.cn',
                userType: 3,
                rbac: [Object]
        }
    },
    captcha: 'dhcm',
        account_id: 'admin@gcydata.gov.cn',
    account_index: '1',
    permission: 7,
    org_name: '驻云科技',
    agent_level: true,
    agent_id: '1',
    agent_code: 'abc',
    user_type: 3,
    aliyun_kp: '1119012843144986',
    aliyun_uid: '1119012843144986',
    rbac: {
            ResourceProduct: {
                id: '569ef2e86337eec31757d262',
                    permission_code: 'ResourceProduct',
                    role_id: '569ef4c363373cc59e9dbddd',
                    role_name: '超級管理員xxx'
            },
            OffleaseManagement: {
                id: '569ef3046337eec31757d265',
                    permission_code: 'OffleaseManagement',
                    role_id: '569ef4c363373cc59e9dbdhw',
                    role_name: '超級管理員xxx'
            },
            BillManagement: {
                id: '569ef2e86337eec31757d263',
                    permission_code: 'BillManagement',
                    role_id: '569ef4c363373cc59e9dbdee',
                    role_name: '超級管理員xxx'
            },
            AccountManagement: {
                id: '569ef2e86337eec31757d264',
                    permission_code: 'AccountManagement',
                    role_id: '569ef4c363373cc59e9dbdef',
                    role_name: '超級管理員xxx'
            },
            WorkorderManagement: {
                id: '569ef2e86337eec31757d266',
                    permission_code: 'WorkorderManagement',
                    role_id: '569ef4c363373cc59e9dbdeg',
                    role_name: '超級管理員xxx'
            },
            ResourceManagement: {
                id: '569ef2e86337eec31757d267',
                    permission_code: 'ResourceManagement',
                    role_id: '569ef4c363373cc59e9dbdeh',
                    role_name: '超級管理員xxx'
            },
            SystemManagement: {
                id: '569ef2e86337eec31757d268',
                    permission_code: 'SystemManagement',
                    role_id: '569ef4c363373cc59e9dbdei',
                    role_name: '超級管理員xxx'
            },
            RoleManagement: {
                id: '569ef2e86337eec31757d270',
                    permission_code: 'RoleManagement',
                    role_id: '569ef4c363373cc59e9dbdhg',
                    role_name: '超級管理員xxx'
            },
            NoticeManagement: {
                id: '569ef2e86337eec31757d269',
                    permission_code: 'NoticeManagement',
                    role_id: '569ef4c363373cc59e9dbdhh',
                    role_name: '超級管理員xxx'
            },
            VpcManagement: {
                id: '569ef2e86337eec31757d271',
                    permission_code: 'VpcManagement',
                    role_id: '569ef4c363373cc59e9dbdht',
                    role_name: '超級管理員xxx'
            },
            PriceManagement: {
                id: '56f8a0ae5d43baf9d1893241',
                    permission_code: 'PriceManagement',
                    role_id: '56f8a2345d43baf9d1893244',
                    role_name: '超級管理員xxx'
            }
}
}

//req.session end


pageSize = (+options.pageSize) || config.getPageSize()//获取配置文件
